import React from "react";
import Hero from "../components/Hero";
import Banner from "../components/Banner";
import { Link } from "react-router-dom";

const Error = () => (
  <Hero hero="defaultHero">
    <Banner title="404" subtitle="page not found">
      <Link className="btn-primary" to="/">
        return home
      </Link>
    </Banner>
  </Hero>
);

export default Error;
